<?php
/**
 * member model
 */

namespace App;

use Illuminate\Database\Eloquent\Model;

class Student extends Model
{
//指定表
    protected $table = 'student';
    //指定ID
    protected $primaryKey = 'id';

    //字段白名单
    protected $fillable = ['name', 'age'];

    //配置是否开启时间
//    public $timestamps = false;
}
